home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / grafix / tools / pstoedit / pstoedit.txt < prev    next >
Text File  |  1996-02-26  |  3KB  |  70 lines

  1. Name  pstoedit  -  a  converter  from  Postscript(TM) to editable
  2.        Objects.
  3. Syntax
  4.        pstoedit [ -dt ] [ -dis ] [ ] [ -m number ] [ -f format  ]
  5.        [ files ]
  6.  
  7. Description
  8.        pstoedit  allows to convert Postscript(TM) files to a sim-
  9.        ple vector graphic format, that can be  edited.  Currently
  10.        tgif  (-f  tgif), xfig (-f fig), Framemaker(TM) MIF-format
  11.        (-f mif) and flat PostScript (-f ps) are  supported.   Ask
  12.        archie  on  where to find tgif or xfig.  Pstoedit works by
  13.        redefining   the   two   basic   painting   operators   of
  14.        (TM)Postscript, stroke and show. Others like image are not
  15.        supported.   After   redefining   these   operators,   the
  16.        Postscript file that needs to be converted is processed by
  17.        GhostScript (gs). So you need to have Ghostscript in order
  18.        to  use  this  program.   pstoedit uses a postprocessor to
  19.        actually build the input file for the editor.  This  is  a
  20.        small lex-program (makeedit). To build it, just type make.
  21.        Edit the pstoedit script and change LIB according to  your
  22.        local environment.
  23.  
  24.        The  output  of  gs  that  is  piped to makeedit is a flat
  25.        PostScript which  only  contains  simple  operations  like
  26.        moveto lineto, show, ....  You can look at this file using
  27.        the -f debug option.
  28.  
  29.        To implement a new backend you  can  start  from  drvexam-
  30.        ple.c.   See also drvbase.h for explanation of the methods
  31.        that need to implemented for a new backend.
  32.  
  33. Options
  34.        -dt   Text is drawn as  polygons.  This  might  produce  a
  35.              large  output  file.   You  might  want  to use this
  36.              options for example if the PostScript file  contains
  37.              rotated text.
  38.  
  39.        -dis  Open  a  display  during  processing by GhostScript.
  40.              Some files only work correctly this way.
  41.  
  42.        -m factor
  43.              magnify by a factor (for tgif only).
  44.  
  45.        -f format
  46.              target output format. Currently tgif, mif and ps are
  47.              recognized.
  48.  
  49.        files input  files.  If  no  file  is  given  as argument,
  50.              pstoedit works as filter reading from standard input
  51.              and writing to standard output.
  52.  
  53.                                                                 1
  54.  
  55. Author
  56.        Wolfgang Glunz, Wolfgang.Glunz@zfe.siemens.de
  57.  
  58. Acknowledgements
  59.        * Klaus     Steinberger     <Klaus.Steinberger@physik.uni-
  60.          muenchen.de> who wrote this man page.
  61.  
  62.        * David B. Rosen <rosen@murmur> for some  ideas  and  some
  63.          PostScript code from his ps2aplot program.
  64.  
  65.        * Ian  MacPhedran  <Ian_MacPhedran@engr.USask.CA>  for the
  66.          xfig backend.
  67.  
  68.                                                                 2
  69.  
  70.